Allow Swag to be register on local Handlebars instances

Should fix #17

I'm running windows here and I wasn't able to run the unit test, so I can't assure you this will pass. Also, as I can't run tests locally, I didn't add a unit test for this functionnality, but this should be trivial to do.