Dwoo includes were breaking when the plugintype was written as uppercase

Bug 1231755

Change-Id: I198f04bb652d3220bcceb77c685edcae2fe68e52
Incorrect Dwoo template paths

Bug 1231755. The refactor of the Dwoo_Template_Mahara class also closed
a bug in the include path, which made it so that, in the template files
of plugins, if you had an {include} tag which tried to include a core
Mahara template file, it would also have the plugin's own theme
directory on the search path.

It turns out the blocktype/activitystream and search/elasticsearch plugins
had code which depended on this bug. They referred to plugin template
files as if they were core template files, and relied on the bug to locate
them appropriately.

Change-Id: Iec6b0d41d41c540166c972ec9a3dfc80e646cb98
Merge "Dwoo includes were breaking when the plugintype was written as uppercase"
Merge "Incorrect Dwoo template paths"