Clean up all inputs.

We strip single/double quotes, spaces, etc.. from all inputs and
function arguments.