fixed block user

There was a problem with dependency handling, we modified the dependency status after it
was changed to "IsProcessed()" while not being marked as failed, and then we additionaly marked
it as failed in separate thread. This caused race condition and sometimes could result in sending
message even if block has failed. Now the message is sent only after the block is successfuly
finished so it can't happen.
unit test
Fixed template in block user

Previous version was putting same values to both variables but the tempates are using them differently for some bad design reason.
removed line
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
reference count based collectable (fast and simple)
Various fixes
layout
Merge branch 'master' into ubuntu