Registering undefined partial throws exception.

There's already a check to see if you're rendering an undefined partial, but it's more useful to me to have this throw sooner when possible. 

I can't see a good reason to ever set `this.partials[name] = undefined;` in that code block.

Especially when using handlebars in the client and compiling on the fly, this can end up being a significant difference.