Added assertion in case can't find app.properties.

Also asserts for invalid properties of app.properties. When two
assertions happen, the App doesn't start but shows a popup for the
cases.