Cleaned up publication in build.xml
Brought reference manual examples up to 4.01