CoffeeScript, b-motions, unit tests

Added delete boundary conditions in CoffeeScript, created closures out of
various Operations modules. b-motion logic is not ready for production but
pushing to master anyway..