Made error-messages reappear (Had been indented one step to much in formElements.jade.

Fixed the problem with cloning elements; Seemed like there was basicly a 50\50 chance what would happend before, since the promises only resolved the last promise created when calling isUnique; In short: Promises are now tied to a hash based on scheme.name, and resolved the same way, which in turn means each promise is resolved properly!

$window is no longer missing in editCtrl.js