reduce sql calls in serialization to improve performance
remove unnecessary relation_id attributes as this is done automatically with has_one in serializer
move Message.current_user_messages to default_scope adding User.current to access current user id
fix retrieving state with message query as it wouldn't return messages if current user wasn't subscribed
fix api tests, fix error about duplicate subscriptions table name in sql due to message default_scope
add check to message default_scope to ensure User.current is set
fix issue where User.current was not set
Merge pull request #21 from crossroads/performance

merge performance branch with master