Fix NoMethodError with poltergeist

* Click body instead of executing scripts as the execute script API
  differs between selenium and poltergeist
Use non-minified assets also in e.g. tests when NO_MIN env is set
Fix invarant JS error when quickly closing view after input

* Guard callbacks to not do setState etc. when component is not longer
  mounted