unified API

using the same function for raw and comined output
added grunt.js
added travis integration