update server error response. work on client side error reporting.

change error handling for forecast.io get request. update client-side error handling for current location.

code style cleanup.

bugfix for memory leak of recentSearches.