Support background hash parameter for iD

Fixes systemed/iD#1590
Fixes systemed/iD#1682