Fix and improve Openshift

This fixes 
- Cloning into the wrong subdirectory (deploy/openshift/{appname}
- chmod +x the action hooks (necessary for windows)
- Allow the usage of Java 8
- Allow postgres


This should work but it is very hard to test with small gears as the app seems to get killed everytime.