Fixed jobs count for current shell
  We generate the entire prompt by evaluating the python script
  in a $() which creates a separate subprocess which is the parent of
  the Python process. The original shell is the parent of the $()
  subprocess. So, we need to get the grand parent id.
Merge pull request #99 from SaswatPadhi/jobs_fix

Fixed jobs count for current shell
Merge changes from 'owner'