Fixed package name spelling and introduced Gradle build support

Reworked package name from .dynamicgid to dynamicgrid.

Added in build.gradle files into the component and example app directories so that they can easily be pulled in as dependency projects for gradle based apps/libraries.