misc. bug fixes

Hi, I've started merging some of my code fixes to the latest n2cms master for submission. This first batch fixes the broken unit tests (at least for me locally) and also some ugly bugs with cloning, urls and disabled web roles.
There's more to come, just wanted to get started with pull requests. Best from Cologne, DE - Stefan

Btw. I created a solution for CI Builds, trying to use Appveyor @ https://ci.appveyor.com/project/stweb/n2cms
however that build still fails some tests and runs over the 30mins limit, need to investigate further. Would encourage the official N2 repo to use CI Builds as I frequently saw unit tests breaking on master...