made the delete form working, removed the database query from there and there is a test for relation_query() now consequently.
AJAX-ification of dropzone block. Fixed machine name on admin page. Move of relation type load logic into a helper.