Removed select star and group by

Removed select* and group by and instead added the column names and select distinct
@alikon What is the reason behind to not ordering by `a.id` specifically? I mean if you are thinking to remove it then it will make an issue in UX. 
![menu manager menus](https://cloud.githubusercontent.com/assets/2002921/3800803/d1e68fbe-1bfc-11e4-84e2-9276f1f8c922.png)