Better comments indicating workarounds for problems with current Swift version
* marked comments with "BUG" that explain changes due to bugs currently existent in Swift
* marked code with "FIX" that are workarounds for Swift bugs
* the tests currently don't work, as malloc errors occur, most probably caused by ARC problems in Swift with arrays