Documentation: added menu and item templates (underscore-style);
transform function into code and prettify
Merge remote-tracking branch 'origin/master'