#216 - Fixing class names lengths so that the filename does not overflow 143 characters.

This is because of a limitation in ecryptfs on Ubuntu which does not allow filename with more than 143 characters. Link to the issue on launchpad is on issue #216.
Merge pull request #238 from bsharanya/master

Moved api/agents_controller to new rails.
Merge pull request #219 from sachinsudheendra/long-file-name-build-issue

#216 - Fixing class names lengths so that the filename does not overflow 143 characters.
#130- Fixing two views for api's.
#130 - Moving agents_autocomplete_controller file to new rails.
#130 - Fixing build.