Flint and Detroit rank as the two most-affordable cities in the nation for homebuyers, according to a new WalletHub report.