Moves are processed faster now

Changed the window.onload to document.onready (using domready.js)
Fixed issue with columns collapsing if they contained no pieces
Fixed issue with slow moves (changed single SQL inserts in to a batch
insert)