refactor bin/pomelo using module commander

Change-Id: Ic674fcdbf44212506174114124ff1b90214607b8
bin/pomelo: update the prompts

Change-Id: If094ee865fba866321a9e8ff581e1257f25ba21f
add lifecycle feature

Change-Id: I7f014ad3c4e4626b5da19d1db69ac30cac2e022d
add grunt support
rename function & add constants

Change-Id: Ia110820ea2c45681666822f48b7399406a77d465
add after startup callback

Change-Id: I09a6f719378922673239f350b4dc78dd81d4055a
rm jshint in gruntfile.js
add cluster feature

Change-Id: I89470da8b0ad53b2ca267b03ee9d5cd734be49ff
fix miss comma bug

Change-Id: Iba4012e23c88f87afd4a8f4b7ba6a7aaa28e0603
add self increase fields for cluster

Change-Id: I552d27ff547ff0495734539b3fef864b13fda495
fix sendBatch bug

Change-Id: I9e05ed241ef2ef8097f781898f775685544aa6ec
update jshint config

Change-Id: Idf85c0a79eb918e8b80beaa79bb85c5383115f78
pushScheduler: support multi pushScheculers for a particular server

    Now, we can configure more than one pushScheduler and a selector
    which to select a appropriate pushScheduler based on the args,
    for example below:
    app.set('pushSchedulerConfig',
      {scheduler: [{id: 'scheduler-1',
                    scheduler: scheduler1,
                    options: options1
                   },
                   {id: 'scheduler-2',
                   scheduler: scheduler2,
                   options: options2
                   }],
      selector: function(reqId, route, msg, recvs, opts, cb) {
        // do some selecting based on the arguments
        var id = <selected-scheduler-id>
        cb(id);
      }
     });

    The argument opts is available and optional for `push message`,
    `response` and `broadcast`, it is also added in this commit.

    The orignal pushScheduler configuration is also supported for
    compatiblity.

Change-Id: If35aa60b08ef9a16d28425986d3a32677ef26afe
update for jshint

Change-Id: Ib4b0702cfb23e1363e39769cccfc7c4b8e225931
jshint lib/component,lib/filters,lib/utils
update some test cases

Change-Id: Ib3b80df236a86aa5f849c1a83f5f81450eff4a25
bin/pomelo: modify the command options

Change-Id: Id28f8dfc86ac8fa90fe4f05263524f95ad2bf1e8
Merge "pushScheduler: support multi pushScheculers for a particular server" into 0.8.x
Merge "update for jshint" into 0.8.x
Merge "update some test cases" into 0.8.x