Update .gitignore
Reformat code
Not need encode utf8 in here, in rethinkdb  query will encode
add ReferenceField