Refactoring of AMSProxy to SequenceNodeProvider

Major changes:

- Renamed AMSProxy to SequenceNodeProvider
- getSequenceNode()'s callback argument now includes additional field fromCache with the value true if retrieved from cache.
- Added method getSequenceNodeByKey, which retrieves from Cache, failing if not found.