improved module validation
moved builder and embedder into mixer.js
got tests to pass (apart from development mode)
function to get all site dependencies