﻿Added methods to set and get the light of the current map. Also a game variable "GlobalLighting" is now being supplied.
Added a "SetGlobalLight" action.
Rewrite of the scripting and conditions system.
Scripts are now actual python source files that are run inside a game environment.
Instead of conditions the scripting system now has a eval method that accepts a python statement which is run in the same environment as scripts.
Merge branch 'lighting' into scripting

Conflicts:
	fife_rpg/rpg_application.py
Adde a "set_global_lighting" command to scripts.
Added an optional module argument to the register_command and register_commands methods. This will put them inside a module with the given name in scripts.
Merge branch 'scripting' into scripting-lighting

Conflicts:
	fife_rpg/rpg_application.py
Merge branch 'scripting' into scripting-lighting
Merge branch 'scripting' into scripting-lighting

Conflicts:
	fife_rpg/rpg_application.py
Merge branch 'master' into lighting
Added a get_light_renderer() method to Map, which returns the fife.LightRenderer for the maps current camera and a add_simple_light() method which adds a simple light to the map.
The Map now takes an application argument on construction. Changed the methods that needed a world to use the world of the application.
Added add_light_from_lightmap and add_light_from_animation methods to the Map to add lights from a (resized) lightmap and an animated lightmap respectively.
Merge pull request #5 from fife-rpg/lighting

Merged the changes from the lighting branch. Fixes #3.