Refactor Search to Doctrine 2

Cherry-pick 1017c9e8ca0c214de1f327bab1bdf1690a13e032
Correct field name.
Correct DQL - even though Doctrine still doesnt accept it.
Fix DQL statements
Merge pull request #691 from zikula/d2_search

Refactor Search to Doctrine 2
add form_edit hook to blocks for HTML block only.

Other hooks not applicable in this situation since blocks are not independent content (accessible via url)
Merge branch '1.3'