Add class to detect whether we're in various runtime environments

This PR adds the ability for users (and for Splat itself) to determine whether it's in a unit test runner.

## TODO:

- [ ] Figure out how to register platform-specific libs