Put assignments in project api controller, with first test; ajax put WIP