Fixed various anomalies , unused code, doc comments

- Srcutinizer CI inspections
- Add Code Coverage support via Travis.
- undefined $directed in AbstractElement
- getRoot() does not return a GraphInterface on an unbound element.