Fixed undefined $directed in AbstractElement, unused code, comments, various anomalies.

- Add Code Coverage support via Travis.
- getRoot() does not return a GraphInterface on an unbound element.
Merge pull request #1 from FGM/scrutinizer-fixes-14C021

Fixed various anomalies , unused code, doc comments