Make availableFeatures() nicer

Change-Id: Ia25c0967e6f65cb046c9f3b1798c747b8da02fc9
Reviewed-by: Kai Koehne <kai.koehne@digia.com>