Bugfix for multiple messages in the inputstream buffer

Changed SDLProtocol to recursively call a processMessages method in the event that more than 1 message is in the buffer.  Also added a few OS files to gitignore.