Minor bug fixes with state search. Refactored code handling addresses.

[completes #53483235] There was an error when there was less than 25
results with the MD search and another error when handling the case
with no results in state searches.  A new model was introduced to
provide consisting formatting to postal addresses. Upgraded to Rails
3.2.14. Removed unused code.