added investment functionality and progress bar to loans index view
added a check for funded? boolean on loan when investment is created