Upgrade runtime to Python27
Fixed a couple of runtime upgrade related problems and a bug in import bookmark html file.
Refactoring NetscapeBookmarkParser.
Fix problems caused by template system change from django to jinja2.