[SysApps][Android] Refine display attributes based on latest spec

SPEC=http://www.w3.org/2012/sysapps/device-capabilities/
BUG=XWALK-1309
Merge pull request #1773 from halton/display_refine

[SysApps][Android] Refine display attributes based on latest spec
[Android] Refine the callback function of compressor.

This patch is to refine the feature of compressor.
optparse stores the converted value when we use '--compressor'
at the first time. Then we use '--compressor=css', optparse
does not consume the argument.
Add 'type' and 'nargs', they instruct optparse to consume the
argument and convert the parameter to related type.
Add test case for this feature.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1151