use an array of StorageInterface objects for scopes.

removed singleton scope and move it to scopes array.
removed phpDocs for unused args.
set shared scope.

not tested yet.
fix AnalyzerTest to incorporate Option object.
analyze scope annotation; add shared scope and test it.
add Shared class.
use scope to carry singleton; some validation when parsing.

tested parse.
add scope method;

use getLastOption to simplify the getting the option object for lastId.