Refactored the string splitting function into a loop
added : as a split character
fix some more warnings
RAII BECAUSE IT IS GOOD
Merge pull request #1 from cranman/master

Some changes, now requires C++11