Discovery

For discussion on how to integrate this. @bergmark you mentioned that this could go in a separate module, rest-discovery. Also, the discussion about the google-api schema etc. seems to have disappeared. Maybe we can make the ideas as issues on my branch?