[FaceRest] Extract parsing server parameters from handlerPostServer()
[FaceRest] Use getParam() to parse int values
[FaceRest] Simplify a variable name

charValue -> value
[server][test] Rename a global variable name

    serverInfo ->
testServerInfo
[DBClientConfig] Validate server type
[DBClientConfig] Validate port number in MonitoringServerInfo
[client][test] Temporary disable a test for EventsView

Because recent sinon's useFakeXMLHttpRequest() doesn't work on
node.js. In addition, we will drop it after we implement test API
of server side because we want to use actual server response to
detect changes of the JSON format automatically.
[DBClientConfig] Validate IP address
[DBClientConfig] Fix wrong checks for hex code
[DBClientConfig] Don't allow too few IPv6 address fields
[DBClientConfig] Don't allow both empty host name & empty IP address

In other words one of them can be empty.
[DBClientConfig] Add validHostName()

But currently it does nothing to pass through IDN
(Internationalized Domain Name) to libsoup.
[DBClientConfig] Allow "::1" for ip address
[DBClientConfig] Enable to add "[" and "]" automatically for IPv6 address

It's convenient to build a valid URI for an IPv6 address.
Merge branch 'issue120'

Add validations for MonitoringServerInfo.

github issue #120