adding POST and DELETE methods for collection models and some other bugfixes