validate_input(): perform input validation.

This function existed before, but merely decoded the input data. A
malicious user could craft a compile request that would grant him shell
access to the server. This patch will reject any requests where the
build flags contain special characters such as '|' and ';'.

Also updated the copyright notice.