hostname checking is now equals
hostname checking is now equals

Instead of doing many indexOf operations, just do an equality.
This simplifies the code and prevents sublte hostname clashes.
Fix hostname/extention precedence rules in processPhoto()

utopiabound/redditp,utopiabound/redditp