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.