Re-factors Gruntfile configuration for less support.

Signed-off-by: ashwinh <ashwinh@cybage.com>