Durandal bugfix & packages cleanup