add py and ipy extensions to recognized code extension list
and add test for them
Merge pull request #538 from jay-hodgson/develop

add py and ipy extensions to recognized code extension list