added possibility to choose reference type
merge commit
renamed viitetype
added logging
Merge branch 'master' of github.com:kpkoivis/ohtu2013MJKE
deletion of references