Merge pull request #2 from zumper/master

gradle support
add build dirs to gitignore (so projects using this as submodule don't freak out)