Implement first version of working EJSON parser and add some unit tests for it.