Allow using Frapi_Action::getParam to access uploaded files.

Previously the getParam function always used the $_POST/params array.
This checks the type passed and if it is a file then uses the
$_FILES/files array instead. Fixes issue #202.