Use proper array key

Fixes https://github.com/owncloud/core/issues/12047

add loading spinner while waiting for setup to finish

add setup.js
changed image to classed div for spinner animation