Merge pull request #316 from ddobrev/master

Fixed the generation of a null check before returning a value
Fixed the advanced pass for properties to skip ignored methods.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>