Add karma+jasmine tests
Split files
Read only
Update demo odt file
Include debug file in karma