Make all wallet queries into stored procedures

Conflicts:
	txbits/app/wallet/SQLText.scala
Merge pull request #48 from txbits/kirk/wallet-functions

Make all wallet queries into stored procedures