bzr-rewrite: update app and used python

Update to latest version and used python to 2.6 and 2.7
bzr-svn: update app and used python

Update to latest version and used python to 2.6 and 2.7