Add java config for heroku

Becouse DATABASE_URL must be changed to JDBC URL format