add singleNamespace and noVar options

singleNamespace will concat keys from all src files and apply them
directly to the namespace.

if noVar is set to true, it will remove the var declaration before the namespace.