Add in missing syntax from resource_test
Merge pull request #120 from DavidCPhillips/fix-tests-oops

Add in missing syntax elements from resource_test.
Added page error counter and jasmine runner test to ensure error free runner to fix issue #121.
Merge pull request #122 from marcelduran/report_page_errors_in_jasmine

Added page error counter and jasmine test to ensure error free runner.
Allow advanced users to enable request identification via header.

Add support for sending an HTTP header to identify requests.  This provides an
alternate system for negotiation between SPF and default browser requests, but
it adds a restriction on developers: a `Vary` header MUST be returned by the
server to avoid caching problems.  Guard this behavior behind an "advanced"
config flag and provide no default to prevent accidental usage.

A normal SPF request looks like
```
GET /path?spf=navigate
```

By setting `url-identifier` to `null` and `advanced-header-identifier` to
`__type__`, a SPF request would then look like
```
GET /path
Accept: application/json
X-SPF-Request: navigate
```

And the server must then return
```
Vary: Accept
```

Closes #31.
Merge pull request #112 from nicksay/advanced-header-identification

Allow advanced users to enable request identification via header.