added code documentation and some cleanup
Merge branch 'master' of https://github.com/kaltura/drupal-kaf