AE settings rewrite

This is the start of the settings discussed here: http://forum.xbmc.org/showthread.php?tid=170544&pid=1501946#pid1501946

We can use this PR to gather all the changes and squash them later.