refactored PaymentTable

removing the code to determine the payments to its own function so it
can be potentially used elsewhere
Merge branch 'gh-pages'
removed debugging
added price, deposit sliders & deposit percentage
support for weekly, bi-weekly
switched to local copy of d3 lib
supports weekly, bi-weekly payments.
fixed final payment calculation
Merge branch 'master' into gh-pages