added few unit tests (not all working), bug fixing

fixed a bug during linq script generation.
license applied where needed
version increased