refactored some data loading methods in load shared so that theano modules are only loaded when neccessary, which helps with testing on architectures that are not gravity (compiledir code reuse problems on scinet).  Also refactored some of the density plot utils into a separate file, so they aren't duplicated for the NOP10 tests.