Skeleton from Gradle NBM plugin.
Add wrapper and few tweaks to build.
Gradle wrapper updated to 1.11-rc-1
Skeleton of NbmTask added when plugin is applied
Integration test setup.
Various changes to set up testing.
Ignore NetBeans metadata.