SQL Retrievals for Hierarchical ChartofAccounts

This pull contains 
a) SQL Retrievals required for client app for hierarchical view.
b) name decorations are added for glnames based on their hierarchy