Modify extend() function.

Modify extend() function for extending subclasses. updated BEM.Data structure. aggregated data(collection of data) and datum into BEM.Data.
:beers: