[closes #3] Implemented edit function for Reference Type "Paper"
Update includes some rewriting of save machanism in API and a small update of the references index template which allows filtering by different types.