startet minor refactor of mongo... but will work on it later.
consistency with rest of framework.
popover automatically attaches itself to element now, so no need to specify it.
add support for specifying array inside argument for merging.
js lint