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 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)