Refactor functionality of SmrtPipeContext into WorkflowSettings. Add some cruft to make the APIs work. Added basic RS loading test.