clear bug fix, size and forEach added
lint fixes
Merge pull request #2 from vbogdanov/master

clear bug fix and two more public methods