Feature/rails3 group assigned issues

This is basically the same as https://github.com/opf/openproject/pull/40 but with (presumably) working tests and 2 fixed model validations.