code cleanup, no more warnings under el6
add tests
add newline at end of file
little bit of explanation for getcfg
relocate doc
Merge pull request #85 from stdweird/ofed_cleanup

Ofed cleanup