Escape separator when setting PROMPT_COMMAND

- Escape slash in '\n' when setting bash's PROMPT_COMMAND
- Place __promptline first in PROMPT_COMMAND to avoid getting incorrect
  job count

Fix #7