ENYO-2286: Add samples for core Enyo UI controls

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>
Fixed formatting issues raised by JSHint.
Updated RegEx to be JSHint compliant, slightly modified var declaration to be a single statement.
Updated RegEx to utilize identity operator when checking for 0 to prevent falsy values evaluating to true.
merge changes in 2.3.0-rc5

Enyo-DCO-1.1-Signed-Off-By: Cole Davis (cole.davis@lge.com)
only flag for refresh if the page actually has children, in zero-length pages this will not illicitly flag for refresh

Enyo-DCO-1.1-Signed-Off-By: Cole Davis (cole.davis@lge.com)
Merge pull request #617 from enyojs/rc5-patches

Commits/changes from 2.3.0-release-candidates RC5

Reviewed-By: Ben Combee (ben.combee@lge.com)
Merge pull request #610 from enyojs/ENYO-2286-aarontam

ENYO-2286: Add samples for core Enyo UI controls

Reviewed-By: Ben Combee (ben.combee@lge.com)