fixed gruntfile issues and updated packages to match used tasks
require works fine in devmode
main.css is now put into .tmp so removed from source