Fix test/post modules

Adds test/lib/ to the load path in all modules if it isn't already
there. Makes 'loadpath test/modules/' actually work for all modules.
Add a resource script for running session tests
Land #2354, @jlee-r7's patch for loading problems on test post modules