adds referer tracking; squashes:

commit b9405b34e97c12d0f4b3bad02a3843a3dd8de8b2
Author: Josh Justice <josh@need-bee.com>
Date:   Mon Dec 29 11:57:52 2014 -0500

    adds referer tracking

commit e03f1c84a0beb923558190d5ebd1f3d60c046638
Author: Josh Justice <josh@need-bee.com>
Date:   Mon Dec 29 11:57:44 2014 -0500

    adds query to get hit count