Remove content-encoding header from proxy response
Remove content-encoding header from proxy response
Fixes #41 by checking x-requested-with header before triggering navigation

This commit adds header checks before triggering the `location:update` event in
`serverUtils.navigateCallback()`. If the request was made via AJAX, the
`x-requested-with` header will contain `XMLHttpRequest` and we can safely avoid
triggering the navigation event.

This prevents any browser from being redirected to a URL made via AJAX.
Merge pull request #46 from tonyhb/fix/issue-41

Fixes #41 by checking x-requested-with header before triggering navigation
Merge branch 'master' into features/control-panel

Conflicts:
	test/server/proxy-Spec.js
Code cleanup