This patch adds an option to the Cycles Sky Texture node that allows the user to
select a lamp to specify the sun direction of the sky. If a lamp is selected, the
manually specified direction is hidden and ignored.
The only remaining problem is that rotating the lamp while being in viewport
render mode doesn't trigger an update - I'm not sure how to implement that,
hints would be appreciated ;)