fix(Angular.js): fix isArrayLike for extends

Add spec for isArrayLike
Add Arguments detection
Convert NodeList detection to use hasChildren
Prepares a single boolean return instead of several if return boolean
statements

1. Convert if-return boolean statements to single boolean return.

2. Assign boolean conditionals to break up the long boolean return
and avoid repeated calls.

3. Declare variables at the beginning of function to avoid hoisting errors.
Break long lines into indented and aligned expressions.