Fixed InvestInLoan(). The server doesn't give a correct response unless an actual note is invested in so the response parsing code is still untested (but is fairly straight forward). Amount is now a parameter.