Added a `discover` action

Users can now "discover" available resources and links offered by the server (defined in its query interface)
by running the `discover` action.

Usage:
~~~
 $ occi --action discover --entity-type resource
 $ occi --action discover --entity-type link
~~~