[48243769] restful api: add uploading and downloading photo endpoints using postgres
delete temp file
[48243769] add callbacks to delete the tmp files
[48243769] restful api : set the current_user setter as before_filter
[48243769] rest api: add endpoint to update interview
update for mobile rest api
Merge remote branch 'upstream/master' into temp_api
[PT 49177639] porting the RESTful api over on the file storage layer
fix all unit test fault
Merge remote-tracking branch 'others/api_on_filestorage'

Conflicts:
	Gemfile
update Gemfile
fix test script for job opening
fix test script
Merge pull request #132 from Chunjie/master

[PT 49369103] Merge 'RESTful api' back to master branch
continue the previous fix that causes candidate editing's crash

Signed-off-by: Henry Chen <hchen@vmware.com>
Merge pull request #134 from Henry-CF/candidate

continue the previous fix that causes candidate editing's crash
fix test script
Merge pull request #133 from vmrobin/master

modify Gemfile
code-refine preparation & skeleton for dashboard

Signed-off-by: Henry Chen <hchen@vmware.com>
quick fix to allow users' query.

We probably need move user_select to other controller later.

Signed-off-by: Henry Chen <hchen@vmware.com>