Remove doc ROot from paths.
Fix document includes on menu_data scripts.
Move functions up to root dir.
Merge pull request #1 from Jtosbornex/master

Compatability fixes