[webui] move the rest of the webui/projects_controller
[api] set the transaction isolation level for test api