Make the Protosockets examples possible to compile.
Merge pull request #789 from nvt/fix-psock-examples

Make the Protosockets examples possible to compile.
Avoid compilation warnings in Antelope.
Merge pull request #790 from nvt/fix-netdb-warnings

Avoid compilation warnings in Antelope.
Initial commit for build.gradle

- Migrate COOJA source and some apps to a standard directory layout
- Can download dependencies dynamically
- Can check style (Android style guide)
- Can generate configuration files for idea and eclipse IDE
- Adding gradle build files to .gitignore
- Removed all bundled libraries
- All regression tests are now using gradle to build cooja
- Migrated apps to gradle for building (embedded libs have been removed)
- run commands are now available as well. For instance to limite max
  Heap memory
configured gradle for Cooja's mspsim extension
Simplify mspsim build.gradle
gradle --no-color in travis
compile mspsim.jar, fail on copy if sources are non-existant
sourceSets still needed; cooja_mspsim.jar is empty
Adding tasks descriptions and cleared some tasks