fixed require for q-io
added header inspection and retrieval functions
added tests for header functions
updated gruntfile for different test environments, added doc to readme and updated test templates
fix merge conflict