fix wrong usages of declarePublic().
fix a typo in declarePrivate() argument.
we no longer need to setup bin/ and etc/ directories for unit tests.
we don't use ClockServer. we use TimerService instead.
fix a typo.
delete unused code.
invoke getPriceCalculationOperandDict script in unrestricted_apply.

so that :
* the result is stable.
* no permission is required for Supply and Resource only for price calculation.
* no proxy role is required in script.