Fix LWR exit code handling.
Refactor JobRunner's in_directory out into galaxy.util for reuse.
Update LWR client through LWR changeset 8ef5299.
This encompasses numerous individual LWR changesets. The largest of these changes include extensions to:

 - Enable LWR client to work in a fashion where remote paths are precalculated and used during job input evaluation instead of having these inputs rewritten after the fact. (Galaxy + LWR runner require significant modifications to enable this - found in subsequent changesets). https://bitbucket.org/jmchilton/lwr/commits/a06587ff0544f3a09cf221057be1b9107021a9fb.
 - Allow staging or arbitrary paths (not restricted to job files such as inputs, working directory files, configs, etc...). https://bitbucket.org/jmchilton/lwr/commits/63981e79696337399edb42be5614bc7218cdf95f.
 - Vast improvements to extra_files_path handling - before it only worked for one level of input extra_files_path - now works with arbitrary nesting of inputs and outputs. https://bitbucket.org/jmchilton/lwr/commits/b5e8c4dffc3a04639550e01f3f44ac3138cc6079, https://bitbucket.org/jmchilton/lwr/commits/ab5bc61f6e0c9e11748436bd61aa1f6cba05f293.
 - Handle tools with version_command defined (LWR servers running on *nix systems only). https://bitbucket.org/jmchilton/lwr/commits/a3b43baa1aa6a8167a4e8cbb195d2a966b6527eb.
 - Allow restircting path mapping to specific input types (input, tool, config, workdir, output, output_workdir, *default* (all previous), unstructured (new for arbitrary files), and *any* (*default* + unstructured). https://bitbucket.org/jmchilton/lwr/commits/27e678d47846c2fdf5792d0c64167d15c3abfecc

As well as several major refactorings to break improve the LWR client code structure

 - Break up stager.py into smaller modules - https://bitbucket.org/jmchilton/lwr/commits/d0efda40b2c92100161ca7f825cb754d6b914db5
 - Refactor complex method __download_results into class with smaller helper methods - https://bitbucket.org/jmchilton/lwr/commits/45fd16e52579c273eea5f52948ca57a1b19daa51
 - Introduce higher level abstrction for staging actions - https://bitbucket.org/jmchilton/lwr/commits/35ea7e2fa88714aff5a38f0e0a55e3fdbcfbe779.
Fix bug in from_work_dir location checking...
... would only be exhibited if using LWR + 'remote_metadata'.
PEP-8 fixes for local job runner.
PEP-8 fixes for jobs/__init__.py
PEP-8 fixes task runner.
PEP-8 fixes for set_metadata.py.
Work on unit test path problems.
Move test/unit/tool_shed to test/unit/tool_shed_unit_tests.
Fix version output redirection for pre-bash shells.
Adjust GALAXY_SLOTS in local.py for pre-bash shells.