Don't add **order by** from meta if a mysql group function is used without group by clause

Fixes frappe/frappe-bench#17
Trigger on_communication using run_method
Fixed Applications search
Fixed startswith count
Merge pull request #668 from anandpdoshi/anand-wip

Fixed order by in db query, on_communication trigger and applications search box