New implementation of lost counter
Updated lost counter
Merge branch 'lab3' into lost-counter

* lab3:
  Fixed missing curly brackets in one-stmt if-while constructor
  bug fixes (ignoring empty lines in CPVar)
  Added support for one-statement if and while bodies
  working string indexing
  Working string initilaizer
  string type compiles to char array

Conflicts:
	PTCORE/RTFM-SRC/counter.coore
Always reset all instances
Handle local function calls

There was a problem when calling a method on "self" from within an instance. In that case the function tried to claim itself and ended up in a deadlock.
Merge pull request #19 from samuel02/per-updates

Handle local function calls
Better naming
Merge branch 'lab3' into lost-counter

* lab3:
  Handle local function calls
Handle functions returning values

This commit changes when resources are claimed. We now expect all methods defined on an object that returns a value (i.e. not void) to not do any operations that needs the object to be locked. If such operations are needed this must be done in a void function which then will be called with sync or async and lock the object.
Add linebreak to print
Storing current work before trying new datatype for environment
WIP changed env to list and started using List.fold_left
Typechecking works with all names in same namespace (variables, methods and objects). Simple error message output
Some cleaning up
Clean up
Remove obsolete file
reactivated myconcat in Common.ml to allow compilation of core-compiler
Removed typechecking of return types of methods and tasks
cleaning up
Add support for tests with bats