infinitescroll: using logger to log errors

Also restricting it to only things that are instanceof Error, which
allows normal flow control by throwing anything that's not instanceof
Error
infinitescroll: multiline require array
Merge pull request #15 from behance/infinite-log

infinitescroll: using logger to log errors