add gitignore for editing virtualenv src
gitignore .swp files
remove trailing whitespace, satisfy flake8
avoid using deprecated simplejson
star-rating: unlocalize filter for half-stars values