Development branch, mostly for refactoring of create instance dialog.
Authored by: bartpved 2012-12-11
Parent: [r329]
Child: [r331]