Fix deploy action_hook for phpbb

Since the phpbb configuration uses `OPENSHIFT_APP_NAME` as the database name, we need to ensure we are using the correct name in the deploy script and the SQL file.

The current approach will work as long as the application is named phpbb, but fails if it is named anything else. This PR solves that problem.

This will address https://github.com/openshift/phpbb-example/issues/1