getDeclaration on ILocalVariables.  IParameter for easy 1.9+ parameter detection. Specs corrected + bug fixes for getOccurences.