More cleanup; corrected licence headers for AlfrescoCMIS files, removed annoying debug statement and added some capabilities tests.