Add check for momentProperties to avoid uncaught exception

I had an error where it said _z is undefined. This took me about 5 minutes to breakpoint the code, which lead me back to the site where I found moment 2.6 was required. Because this threw an uncaught error other items broke like not being able to load data. By having if statement you get the benefit of

1 - No uncaught exception where user is confused
2 - User gets a helpful message in their console and a link to correct the dependency

Thanks for the great library!
Add in Tim's suggestions - cleanup one console.error

I added your suggestions.  I checked through your old versions and it appears that moment.version has been around for awhile.  But since the suggestion came from the original author I wasn't surprised!

I also changed one other area that was using the old console.error instead of logEntry

I kept my if check at the bottom to check for if(momentProperties) because this cleans up the uncaught exception
Merge pull request #117 from askhogan/develop

Added changes