Fixed an overflowing line.
Added Linux test script, added PHP checker.
Added support for basic portfolio operations in model.