Update DatabaseInteractor.java

Updated constructor to automatically detect if it is on OpenShift