rewrite object parsing to make it way simpler; also added comment and $q...

...uery parsing


@imlucas 
1. added parsing of comments
2. added parsing of $query
3. rewrote the parsing of queries, it was way too complex and there was a lot simpler solution by using JSONL
4. changed objects strings to actual objects e.g.
"{ attr: 1 }" is now { attr: 1 }, so the MessagesView can actually filter on attributes of those actual objects whereas we couldn't do that if they were strings