changed a heap

REST working with basic apikey authentication, redbeanphp models
working, made a start on a REST apikey requesting page, checking out
angula...ooops! that's got nothing to do with this commit.