Support json response in region API controller.
Added locations API support.
Sync with master.
Fixed issue caused by pull from master.

Now the locations controller will render the template properly.
Updated locations API to support all fields.
Added regions API support back after master merge.
Removed the use of response builders.

Removed use of response builders and replaced with the respond_with
function.
Merge pull request #247 from fmscode/master

API Improvements