Use os.path to construct template dir on the fly.

Signed-off-by: Min Chen <minchnew@gmail.com>
Add a build script, so that during the build phase GUI code will
be copied to the right place.

Except for app.py, other Python libs are copied as .pyc files.

Signed-off-by: Min Chen <minchnew@gmail.com>
Add a command line parameter (branch selector) to build.py.

Signed-off-by: Min Chen <minchnew@gmail.com>
Avoid using tcp:ip:port as a method to connect to db. Use unix:domain-socket instead.

Signed-off-by: Min Chen <minchnew@gmail.com>
Drop support for IE.

Browser lte IE 9 are just not worth the time to support. Users who
use IE 9 or less will be redirected to browsehappy.com to urge them
to upgrade to a newer browser.

Signed-off-by: Min Chen <minchnew@gmail.com>