Remove unused code from configuration

- Remove flatNode function
- Remove beforeNormalization
Check Permission for all node in menu tree