CCWMP-10998: Added animationstart and animationiteration to dispather.events
ENYO-307: DataList generation issue when list hidden...

...immediately after rendering.

By default, DataList doesn't render list contents immediately; it
renders them after a brief delay, to speed up the initial render
of the view containing the list.

It also waits to generate contents until the list is actually
showing, because it needs to measure the dimensions of the list
to generate the list pages correctly.

We had an issue in the edge case where a list was rendered and
then immediately hidden, because the initial check for
'absoluteShowing' would return true, but then the list would be
hidden by the time the async generation routine ran, and the bogus
measurements would cause the generation to go wrong.

To fix, we refactor things a bit to ensure that the check for
'absoluteShowing' always happens immediately before the generation
routine runs.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
BHV-16293: Added a check to verify there is content in a control before assuming its directionality.
+ Misc whitespace cleanup.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>
Logical correction.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens <blake.stephens@lge.com>
ENYO-349: Fixes issues with TranslateScrollStrategy

TranslateScrollStrategy was not working properly when the
'translateOptimized' option was disabled. In this case, the
strategy uses CSS translation during scrolling, but removes the
translation and sets 'scrollTop' when the scroller stops. There
are several methods in the strategy that need to behave differently
depending on whether translation is currently applied, but before
this fix these methods were sometimes taking the wrong code path
because we weren't explicitly keeping track of whether a
translation was currently applied and the logic we used instead
was wrong in certain cases -- in particular when starting a new
drag or flick before the previous one completed.

In testing this fix, I also came across an issue when using
enyo.TouchScrollStrategy or any of its subkinds with enyo.DataList.
In certain cases, when you scrolled continuously from the top of a
list to the bottom, the scroll boundaries and thumb would become
inaccurate by the time you reached the bottom of the list (because
DataList progressively refines its calculation of the list's size
as it pages). To fix this, I added 'remeasure' methods to Scroller
and TouchScrollStrategy to manually trigger remeasurement, and then
used this feature in VerticalDelegate to force the Scroller to
remeasure whenever DataList refines its list size calculation.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
Merge pull request #891 from enyojs/BHV-16293-blakestephens

BHV-16293: Added a check to verify there is content in a control before assuming its directionality.

Reviewed-By: Art Dahm (art.dahm@lge.com)
Integrated-By: Aaron Tam (aaron.tam@lge.com)
CCWMP-10998: Fixing merge conflict
Merge pull request #775 from enyojs/CCWMP-10998-seunghoh

CCWMP-10998: Added animationstart and animationiteration to dispather.ev...
Reviewed-By: Aaron Tam (aaron.tam@lge.com)
Integrated-By: Jeremy Thomas (jeremy.thomas@lge.com)
Merge pull request #878 from enyojs/ENYO-307-graynorton

ENYO-307: DataList generation issue when list hidden...
Reviewed-By: Aaron Tam (aaron.tam@lge.com)
Integrated-By: Jeremy Thomas (jeremy.thomas@lge.com)
Merge pull request #894 from enyojs/ENYO-349-graynorton

ENYO-349: Fixes issues with TranslateScrollStrategy
Reviewed-By: Aaron Tam (aaron.tam@lge.com)
Integrated-By: Jeremy Thomas (jeremy.thomas@lge.com)