Fixing syntax errors with pnl latex template, but some things don't work yet

--HG--
extra : source : 9f55d7e64ce9ef4fdc3f6fae41a30f0a473132aa
Fully functional PDFs for PNL reports

--HG--
extra : source : 2ace53bc0d36481d6b0eaccc047b4fd69437524e
Fully functional balance sheet pdf's

--HG--
extra : source : 21fcea94ae14aa0319b6ec42bf1f72b1f83d1888
Merge pull request #119 from einhverfr/1.4-pdf_bs_pnl

PDF income statements and balance sheets for 1.4