Check optional project properties

In case a property does not exists, an exception is
thrown and the build fails.

This is required for Travis CI.
Add Travis CI badge