Moved static functions to Register.js from register.php
Fixed problem where the wrong data was retreived in getvisitfees.
Fixed issues with dates in visitView and visit.

Signed-off-by: Eric Crane <ecrane57@gmail.com>