Fixed the behavior for backspace

Backspace will no long make the page go back and if an object is
selected it will delete it. Also standardized the delete functionality.
Split ArrayMath into its own file