Enable building with Gradle

Signed-off-by: Eddie Ringle <eddie@eringle.net>
Add Gradle generated directory to .gitignore

Signed-off-by: Eddie Ringle <eddie@eringle.net>
Add IntelliJ project files to .gitignore

Signed-off-by: Eddie Ringle <eddie@eringle.net>