Adds new methods and rockspec.

The following two methods are added:
- add_word
- get_dic_encoding

Also a rockspec is included.