Put SiacoinPool inside of database
There are some optimizations that could be made here, but the important part - always use siafund pool from within the database - is complete.
This is necessary to provide safety with the TryTransactions function.