Added IntelliJ ignores.
Added Gradle build logic.
Added Gradle 2.0 wrapper.
Added Observer pattern example.
Added Adapter pattern example.