Make version parsing more lenient and improve documentation
Add some assorted documentation
Formatting fixes
Make Int attribute matching clearer by splitting into two cases