Use med extras to implement hold and decay

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Better OctaMED hold and decay support

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>