Updated CapabilitiesDAOXml

Renamed CapabilitiesDAOXml to XmlCapabilitiesDAO and updated its test.
Added CapabilitiesService

Added a CapabilitiesService interface, its implementation, and test.
Corrected private fields modifiers

Corrected private field modifiers which has been missed on some fields.
Other general corrections included comments and header files.