Support for expanding environment variables in property files

Based on xp-framework/xp-framework#365