Added blank lines.
Simplify variables assignment.
Simplify production checking.
Simplify if/else statement.
Merge pull request #189 from gmist/minor_fixs

Minor fixs
Bumped pre-release 1.0.7 version
Simplify oauth_fields macro.
Merge pull request #191 from gmist/simplify_tmpl_macros

Simplify oauth_fields macro
Simplify jinja_env.globals update.
Merge pull request #192 from gmist/jinja_globals

Simplify jinja_env.globals update
Added trailing comma
Added Yandex.Metrika web analytics (http://metrica.yandex.com).