gradeeditors: Added shortformat framework.

The idea is to allow certain plugins to give grades using a shortformat which is suitable for grid/bulk views.