Use onError function when parsing ints to avoid exception handling
Change validate_fen to static method
Fix static access from test
Merge pull request #7 from andersforsell/master

Use onError function when parsing ints to avoid exception handling + change validate_fen to static method