Implement capabilities master detail selection

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Make MasterDetail reusable

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Fix namespace after merge

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>