added tests
updated bower data
Fixed #7. Added resources functions to public API
Added .gitignore file