fix deftwigfn/deftwigaliasedfn macros
make the model map arg optional
deftwigfn/deftwigaliasedfn should return the function handler created
update tests
don't need to pass empty/nil model maps in these tests anymore