Build js and css assets from bower and grunt

Using same versions as Claudyus's commit that did something similar 7 days ago, however a few things are broken, mostly dialogs.

Also, it no longer seems to be using the flat bootstrap 2 theme