Update post-receive script to receive changes

post-receive will now build up an array of changes based on input
provided by git on STDIN. This allows us to be a bit more selective
as to when we trigger certain actions.