Reduce db weight

Fixes #68
Implied global
Fix tests
Merge pull request #70 from TheUnknownOne/design

Reduce db weight
add tests and fix toNum
Changed pokedb loading policy
auto expand
Merge branch 'design' into gh-pages