Added custom assert that tries to log to the crash report log.

So far its a "ripoff" of Mike Ash's code. Needs some more rework but this will suffice as first commit.

Signed-off-by: Esteban Torres <esteban@logn.co>