Added option to set template folder. Updated tests

Hey Jake. Been using your swig-templates for a bit and needed to be able to set the swig template folder. So i've added in an optional templatePath config setting. I updated the tests as well and then them.