UPDATED: ResourceManager with further support for managing Bandwidths

There are some variable name changes:
CIRCUITSDIR->STATE_DIR
CIRCUITS_HISTORY->RESOURCE_HISTORY
CIRCUITS->RESOURCES

Methods have also been updated or changed
ADDED:getManagedResource
REMOVED:checkCircuit
UPDATED:canRequestCircuit
UPDATED: Tests as per changes in previous commit in Resource Manager