added global db variable to laamaj.py and set .jpeg files to be ignored.
Merge branch 'master' of https://github.com/shwoop/laamaj

Forgot to make db reference global.