set x-forwarded-for header
use ip instead of connection.remoteAddress

see express.js request documentation
Merge pull request #228 from c089/x-forwarded-for

set x-forwarded-for header
Sweep codebase for style tweaks

In a fit of OCD, I went through the source files to standardize some
stylistic formatting. Most changes are to the `var` declarations at the
top of files. I.e., before:

    var _, Backbone, BaseModel;

    _ = require('underscore');
    Backbone = require('backbone');
    BaseModel = require('../shared/base/model');

After:

    var _ = require('underscore'),
        Backbone = require('backbone'),
        BaseModel = require('../shared/base/model');

The original style of declaring `var` first was cruft leftover from the
original CoffeeScript codebase.

I also do a sweep of comment formatting for consistency.
Preparing for release 0.5.0-rc1

Updating versions in package.json of Rendr and of examples; updated
HISTORY.md.
Merge pull request #231 from airbnb/style-tweaks

Sweep codebase for style tweaks
Merge pull request #235 from airbnb/release-0.5.0-rc1

Preparing for release 0.5.0-rc1
remove unnecessary commas
execute tests in browser with npm test
compile assets before executing the tests
bundle tests with browserify
adapt karma config to use the browserified test bundle
remove unused dependency
add rootPath to app instance
add public/testBundle.js to .gitignore
rebase