Added syntax sugar to Capability/Functionality

- Added operators for more convenient enabling of capabilities
  and functionalities.
- Updated several examples to show the new feature.