#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.
#130 - Added files of api/agents_controller to new rails.
#130 - Changed api/agents_controller to work with new rails.
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.