Note for future refactoring

Remove redundancies between BU_Hierarchical_Permissions_Editor class with BU_Navigation_Tree_View class.
Use correct link post type
Used $wpdb->prepare correctly
Removed bad usage of $wpdb->prepare
Use link post type name from tree view settings object