Replaced custom events implementation with Node.js's EventEmitter.
Corrected template.test.js to use the EventEmitter interface correctly.
Added 'unrecognizedName' event to FSTemplate. (the Template wrapper used by the template loader)