Improved treatment of latex code during conversion

latex converter: use eq_env only if latex code is placed within '$$'
Merge branch 'master' of https://github.com/jakobgager/nbconvert