Add NanSetPrototypeTemplate()

This is my first pull request. I hope it is okay, because I'm not very experienced in github. Further I don't know how to add a test case. I was looking for a test of ```NanSetTemplate``` but have not found one.