Use array of blocks instead of selection model

This is a lot easier to handle
Bulk selection, move and remove
simplify.js is deprecated and thus removed
Move indexOf() to util
More transparency for dragged blocks
history.js replaced by undo.js
Fix block padding
Fix removing mutliple blocks at once.