Updated uilibrary version requirement to 2.0.4-SNAPSHOT to get fix for ui.getFragmentActionAsJson
Fixed order of visit forms not being consistent. Now the order of calls to registerForm is maintained and order is set as suggested by Bill