Add API throttling config items and APILimitChecker Adapter interface,
add api limit checking in APIServer flow.
Merge branch 'master' into api_limit
Ehcache implementation of APi Rate limit plugin.
Merge branch 'master' into api_limit

Conflicts:
	server/src/com/cloud/api/ApiServer.java

Signed-off-by: Min Chen <min.chen@citrix.com>
Fix plugin component configuration.
Configure ApiRateLimit adapter.
Reuse APIChecker adapter interface for APi Rate limit checking and optimize ApiRateLimitService interface.

Signed-off-by: Min Chen <min.chen@citrix.com>
Use 429 Error code for API_LIMIT_EXCEED error due to latest Http status
code in
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_Error
Merge branch 'master' into api_limit
Merge branch 'master' into api_limit
Clean up ApiServer, ApiServlet and ApiDispatcher in handling various
exceptions, and Introduced ApiErrorCode to handle CloudStack API error
code to standard Http code mapping.
Add some tests for api rate limit plugin.
Merge branch 'master' into api_limit

Conflicts:
	api/src/org/apache/cloudstack/api/BaseCmd.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/api/ApiServlet.java

Signed-off-by: Min Chen <min.chen@citrix.com>
Fix some bugs and add java integration test for api rate limit plugin.
Change a debug message to TRACE level.
Merge branch 'master' into api_limit
Merge branch 'master' into api_limit
Merge branch 'api_limit'
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack
Avoid some m2e error in eclipse for imported project.