init a skeleton for request and i18n

Make a simple skeleton for request.mainly contain paste, router,
log, i18n and a simple user api for test

Change-Id: I19087d7ba0c058f18d39fba37fdeea192897f890
implements user operation api

add api for setting user password
add api for list and modify tenant quota sets

Change-Id: Ic13137be8e7154048e25ec48e9166e2c7a05ab4e
implements management api for server and image

implmenets simple management api for server and image.
NOT include data transformed something like user id to user name.

Change-Id: I86f6bd942b2ee229d6abda476dbcbb4dbfeee983
implements api for statistic

implements api for platform usages and tenant usages statistic.

Change-Id: I7f727bcee43531d02ae28f7f2989820393504803
implements two APIs and skeleton of looping call

implements API of listing keypairs and floating IPs.
add skeleton of looping call:
    1.if service started in one process, spawn looping call after service start.
    2.if service started in multiple child process, start looping call in child process.

Change-Id: Ib78f8e844fee366b45cf18436e826ede674b3c6c
add DB operation for monitor and alarm

add DB operation in umbrella/db\/*: save or get monitor settings,
alarm from tables.
implements api for listing alarms and update settings.
support listing in paginate way.
support local memory of saving dict object.
implements checking threshold of usage and save alarms.

Change-Id: I4044ae77b9e1f44024e3b11a93dc54a92dfcb9b9
implements functions of pushing usage to monitor

implements functions of pushing usage to monitor.
implements api of getting usages by host.
implements api of getting settings.

Change-Id: Ib97f96248d16eeb34d6d470ee1762589dac99733
implements api of alarm operations

implements alarm update,delete and clear.
fix memory cache to global instead of greendthread local.
implements functions of NO alarm replicated in specify seconds.

Change-Id: Id0b884f60a1221a1c006540faaf12b679d521548
Refactor for API and sql

Refactor for API and sql

Change-Id: Id9ac5d4ae878d36e190ebc1e2c7157afb98ddaba
operation statistic implemented

1.implement instance and snapshot operation statistic API.
2.fix instance and image url error
3.fix update settings
4.add api of deleting setting
5.add setting uuid filter for searching alarms.

http://jira.hz.netease.com/browse/CLOUD-2111

Change-Id: I633628b6b1ad0576f375364ddaaa0a36e34b96e8
add api for image delete and update

add api for image delete and update.

Change-Id: Id3a303c59a653fd2f74c8dcb750433a416e823c6
add tenant_name attribute in list api

Add tenant_name attribute in list api such as list servers.

http://jira.hz.netease.com/browse/CLOUD-2679

Change-Id: I1ee54cf6aed774b0b61ef6b3d5f5236c93b554dc
push resource usages such as ecu to monitor

Refactor for usage calculator and define standard data structure.
for usage to be calculated.
Add a api for result of calculated usage.

http://jira.hz.netease.com/browse/CLOUD-2635

Dependencies:
    1.dependent on all quotas extension in nova
    2.dependent on quotas usage extension in nova

Change-Id: Ied4193a21cf9d76c72f424d853a1cd2b64c8d47d
add api for tenant list and modify time zone

add APIs for tenant list, resize, modify email.
modify data structure of hosts usage.
recognize ip type from ip range.

http://jira.hz.netease.com/browse/CLOUD-2740

Change-Id: I5e7b2c3cc45dfbbbbb5d3bdc35af035ccf299868
implements filter for list

Support 'and_' 'or_' filters for different query paramters

http://jira.hz.netease.com/browse/CLOUD-2695

Change-Id: Ib928f5eda0e807e2d0522183475f6f9ef72013a4
implements api of quota default

1.If request a specified tenant quota but the quota or usage does not
exists, return default quota and 0 usage.
2.Store the quota templete in memory in some time.

http://jira.hz.netease.com/browse/CLOUD-3018

Change-Id: I0ddc9860a7b5c911f367dbbb2278e7c3df7073a3
add config for image list limit

http://jira.hz.netease.com/browse/CLOUD-3075

Change-Id: I107c6bdb44b807d0fb9f489e2acae32e12d39c19
optimize instance operation statistic

http://jira.hz.netease.com/browse/CLOUD-3087

Change-Id: Iab7def6290ec166341596ba75384022d6a1e1b9a
fix quota usage for key pairs

Key pairs does not save usage in DB.Could not
get usage for key pairs directly.In the commit,
get all key pairs with no cache to calculate usage
for all tenants.

http://jira.hz.netease.com/browse/CLOUD-3101

Change-Id: Ie2d76dbbf026641db774b79b3b12c2f34ec2d32e
fix instance running time

After change datetime format in result returned by nova,
should match datetime timezone with utc for calculating running time.

http://jira.hz.netease.com/browse/CLOUD-3108

Change-Id: I5383df493e6e1a0062a6bcb4a8e3a2191472bbf3