Add hasChildren() function with specs
Merge branch 'bikezilla-hasChildren'
Update dependencies and add a lint script.
Updates npm to the latest version in Travis.

This avoids the errors related to the version ^ operator when using node 0.8.
Merge pull request #1 from joaonuno/master

fetch upstream