Updated the library to conform the 1.0.0 changes in hashids.js.
Kept old functions with obsolete flag.

closes hashids/hashids.github.io#15