Encapsulate construction of VariableInfo.

The construction is now completely done inside

  - ClassInfo.addField(..),
  - MethodInfo.addLocal(..) and
  MethodInfo.addParameter(..).

The constructor can thus be made private and the offset and block
field be made final.

Also added some docs.