Added a default_index option used to determine the default envirnoment to use when none is provided.
Merge develop
An error is now thrown when the figg file cannot be found.
Refactored the env find to be a little more robust.
Added a factory function for returning a figg object instead of just the current config.
Refactored the test to use mocha.