Fix up enumeration mismatch issues (CTLineBreakMode vs NSLineBreakMode), and use system function instead of rolling our own for NSTextAlignmentFromCTTextAlignment
Merge pull request #514 from dmaclach/type-fix

Fix up enumeration mismatch issues