Better validIP Method

Updated the 'validIP' helper method to return True if the IP is actually
valid, unlike the regex version, which returned True even if the IP was
'999.999.999.999'
Also fixed a few spelling errors that I came across.
Merge pull request #1 from alecnunn/master

Better validIP Method