Added UserService with caching to search for recipients
Added newMessage() function
Changed from relative to absolute import path
Changed implementation of service to only use promises.

Data will always be piped in the cache. Cache is valid for a given TTL.
TTL is defined at the top of the service.

If the TTL is valid, the service will not bother checking for new data.
If TTL is not valid, and network is unreachable, data will be served from cache.
Removed console.log()
Merge pull request #14 from jarlefosen/FH-21-search-user

Fh 21 search user
Added filter functionality to inbox, messages can now be sorted according to buttons
Fixed linting
Merge branch 'master' of https://github.com/jarlefosen/INF5750-group-assignment
Stores messages in localStorage as long as there is room
Refactored Message Service to store messages as long as there is room
Rewrote Inbox controller to use new implementation of Service
Added try-catch to localStorage to ensure no crash on storage full
Changed some values in inbox-messages view to use native fields
Merge branch 'master' into FH-27-cache-messages

Conflicts:
	www/js/controllers/InboxCtrl.js
Fixed undefined-error in caching.
InboxController looks for cached messages on load if they are valid.
Added new scss file for single message and deleted unused ctrl files
Added some styling for single message view
Changed data format in datefilter and removed unused imports from routes.js