Phonegap Plugin to detect build environment (debug/release)