Add fish error logging.

Fixes #247.
Merge pull request #320 from wting/add_fish_error_logging

Add fish error logging.
Makes sure that autojump is sourced before running.

Fixes #255.
Merge pull request #319 from wting/check_autojump_sourced

Makes sure that autojump is sourced before running.