osx_login_item : added user parameter

Hi, 

The current code can add login items to the current user only. When puppet runs with its own user, it is not possible to add a login_item to a specific user. 

This commit adds sudo -u before the command if the user parameter is specified. 

--
Nicolas