added REST api, made emberjs use it for notifications and docs