Code format PEP8 and small syntax changes

Changed code formating to work well with PEP8 standard. Changed extra
geo_filter query code format, cause got some problems with SQL query
because of ` symbol
Added django transaction layer, fixed formatting
Removed django transaction layer, changed exception
Merge pull request #1 from aurimukas/master

Some code formatting stuff for PEP8 and query format problem solved.