[transaction] initialize hook control attribute in Transaction
There is no reason to not initialize them in __init__ time. this simplify the
transaction code.
Experiment with the search bar. Try queries like "card sometextualcontent" or"card wikiid index" or "345".