added locations tests and nearby feature

Right now tests only work when run individually. I've fixed this in another branch on top of this one, and will merge later. To run tests now, run them independently:

<pre><code>$ mocha --compilers coffee:coffee-script/register test/users.coffee
...
$ mocha --compilers coffee:coffee-script/register test/locations.coffee
...</code></pre>