Fixing the Send and SetAccount function.

Was this not tested at all? This should have never worked
Change require to require_once
Add a function to validate a Dogecoin address