Start rest support. Create support for GET, PUT, DELETE and POST method

Summary:
It's not tested with GsonRequest. I only have tested if the
resource change correctly

Fix checkstyle violations

Test Plan:
Test generateSaveWithQuery, getAllResource and
replaceValuesInResource method.

Reviewers: jmsotuyo

Reviewed By: jmsotuyo

Subscribers: mpurita

Differential Revision: http://ph.monits.com/D4697