liten partial bugfix.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
Datamodels and misc mongoose-code
some populatemagic
rydde opp litt.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
liten fix igjen.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
init-mongo-db, first REST services
-GET rest api lagt til alle collections.
-forbedret initmongodb.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
vibcandidate POST metode utkast.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
added a few libs, added REST-methods, modified model.
api og gui knyttet sammen del 1.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
PUT vib aka åpne safen
PUT quizinstance, aka åpne safe
jshint-fixes and less strict ident checkings
litt code refactoring.

Signed-off-by: Harvey Daclan <hardac@knowit.no>
misc gui-changes