Introduce new feature: favourites injection

It's a quick way to insert typical constructs or expressions into
query text by typing corresponding favourite name and pressing a hotkey
(F2 currently).
Fixed bug with empty WITH () clause of CREATE VIEW