fixes and speedy

* Implemented speedy form
* Moved some stuff out of core
* Created new generic namespace to reduce duplicate functions that are often used in many places
* Inserted a query pool in order to ease work of core
* New namespace WikiUtil for various functions