Add log record for user login.

Change the log formatter name from "info" to "verbose" to distinguish
from log level name. And record more fields in this format.

Use above verbose format to log user login history in info level.
This log record will be record to stderr and redirect to apache
error log by default.

Config django_auth_ldap logger to print out.

Example of logs:
[WARNING] 2014-06-06 11:33:40,589|django_auth_ldap|Caught LDAPError
while authenticating admin: SERVER_DOWN({'desc': "Can't contact LDAP
server"},)
[INFO] 2014-06-06 11:33:41,008|iris.core.views.base|login|admin|

Fixes: #1941
Change-Id: I6163e0ccae26840cd8a6587881d2bad40bcec21f
Signed-off-by: Huang Hao <hao.h.huang@intel.com>
Fixes bug: Sign In UI Wrong

Django can add each message to messages storage, and remove it when you show it.
So change the logout redirect url to "/login", the message can be show
in the login page.

Fixes: #1949

Change-Id: I6737486f7d9fa352575285d86abba24822b59ecc
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>
Common function to show user's display name

Add a template tag "user_display_name" to show user's display
name.

Although we have user profile class, however in many place we
don't use profile but the origin user instance instead. So this
common function can't be put into profile class.

Fixes: 1918
Change-Id: I02bdc4b797b85b54ce9d5d76c5b1f13b82788dab
Add import data script

This script can import domains subdomains gittrees users data from
scm/meta/git project.

Fixes: #1928
Change-Id: I8d3a6ec4faec972d058cc9fc2d2bf46f455362d5
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>
Add update IRIS data shell

The shell can pull data from "scm/meta/git" project
and run "import_scm.py" to update IRIS data.

Change-Id: I31c72260e429fd1784ad049d20d6ba69ac3ed59f
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>
change subdomain role name

Add a function to create subdomain role name
Since the subdomain role in IRIS online database is
named with "-"(dash).

Change-Id: I4cf79792f10aaf957506172d57bd034683edec5e
Signed-off-by: gaoxuesx <xuesongx.gao@intel.com>