fix(rxEnvironment): issue #185; gracefully fail environment undefined;

Instead of throwing an error when no environment match is found, we log a warning and return localhost
This allows apps to define an environment after the initial page load and fixes an issue in the demo app