Adding $hi.getCapabilities()

Signed-off-by: Lars Johansson <newmedia@xs4all.nl>