Add RESTful interface for following users

Tests are also created for this feature
Move RESTful friends service to api app

All the tests and urls are moved into /api as well