Added support for "wrap_content" in "layout_height" attribute.

Added two modes for calculating "wrap_contnet" height. Fast mode calculates height of only visible views. Slow mode calculates height of all views in adapter. maximum height of all views that were used in calculation is considered result.