add joystick option to config files

<joystick var="[varname]" id="[sdl joystick id]"/>
this is a special case of the declare tag that tracks down the joystick
id and finds the correspending joystick number. It becomes equivelant to
<declare var="[varname]" type="int" init="[joystick number based on
id]"/>