Fixed #271
Fixed #279
Added support composite primary key for REST controller
Merge pull request #280 from AntonShevchuk/master

Fixed #271
Fixed #279