Merge pull request #38 from Gegga87/master

8/12
Ignore this change..
Added methods that create errors in json
Seperated relation get and post
Added error handeling, now returns error in json if anything goes wrong.
Added error handeling, now returns error in json if anything goes wrong.
Moved our Exception to this file
Fixed merge conflict
commit before pull (worked on getting unique relations work)
fixed merge conflicts