clean up bower dependencies

I have moved all the dependencies into `devDependencies` section.

They are splitted into logical groups, but unfortunately bower doesn't allow comments (in fact well-formed JSON can't contain any comments).