Fix style dependencies in installer

I fix a bug that the application.css was not required by install.less.

Furthermore, I use $.confirm instead of window.confirm in JavaScript for
better scalability.

At last, I remove the unneeded test.less file.