Rename length() to size(); cleanup error message

Size is consistent with the ES6 Collections APIs. https://github.com/Benvie/harmony-collections#hashmap
Merge pull request #2 from ethanresnick/patch-1

Rename length() to size(); cleanup error message