Refactoring implemenation and added ALLOW-FROM policy

Refactoring implementation, added a HeaderFactory abstraction to also
allow for custom implementations. Changed the xsd and the documentation 
accordingly.

Implemented a ALLOW-FROM strategy as specified in the initial proposal 
of the Allow-From header. Also allow for custom strategies. Updated the xsd
and documentation for this.