moved from lp function in constructor, added integer squared support in from lp constructor
moved from lp function in constructor, added integer squared support in from lp constructor

dwavesystems/dimod,dwavesystems/dimod