fix(carousel): handle various attribute syntax, fix #21
chore: split files, fixes tests, add watch task
test(carousel): restore some tests