Set loaded property after active

Some views are listening for `loaded` to change
but require that `active` be `true` to do anything.
Make sure we set the `active` value first.
Merge pull request #834 from Connexions/fix-mathjax-loading

Set loaded property after active