Switched construction style to Common JS with amdefine wrapper. Tidied comments.
merge() now accepts of storedOptions argument instead of assuming the presence of this.storedOptions. Added documentation. Updated AbstractLoader for new option merger api.
Added option merger test
Added template documentation