Make bindata usable as a Library

- Modularize code to support library usage
- Move lib code to lib/ so as to preserve go-bindata binary usage
- Make some useful methods public