Replaced a few getval function calls and added alphanumeric check to ext variable in get_resource_path


git-svn-id: http://svn.montala.net/svn/resourcespace@4443 c08608d7-6e46-0410-86ca-f2a6f1370df5