Updated marks.index to allow you to pass a limit smaller than default of 30
Added ability to add notes and label_id directly during add process
Updated some logic
Added json specific controller just for json errors
Updated to return invalid errors as JSON when API or ajax calls
Instead of redirecting to web view, add correct error
Updated error codes to use some of the http error codes
Fixing merge conflict