Changes to Layer class
Using generics and small improvements
Cleaning code
Removed needless entry from the classpath
Merge branch 'master' of git+ssh://github.com/idega/com.idega.developer into BRANCH_PLATFORM_5

Conflicts:
	pom.xml