Bargs

Stdin and HTTP were not using the build args parsed from cli arguments.  Fixed this and added test coverage for stdin and http via calling main and creating mock http server.

- Separated out LoadAndBuild
- Addressed a number of bugs in tests found while writing integration tests
- Changed the behavior of NewContext to be less memory intensive