added device config endpoint to php layer. this can be used when running the unit-tests on device