Apache-plugin: move to contrib directory

Also added the copyright notices.