Add priority parameter to instance resource

in order to determine startup/shutdown order of instances via service script