Refactoring and new method for joining EJB entities
Merge branch 'master' of github.com:idega/com.idega.core into course_test

* 'master' of github.com:idega/com.idega.core:
  showing last login date
New method and exception handling
Merge branch 'master' of github.com:idega/com.idega.core into course_test

* 'master' of github.com:idega/com.idega.core:
  Changed toString
  New method to get last logins for all users
  sorting collections by localized names
  Using generics; discarded Vector in criterias
Merge branch 'master' of github.com:idega/com.idega.core into course_test

* 'master' of github.com:idega/com.idega.core:
  Improved handling of 404 error
  New method to find ICObject instances by ICObject
Merge branch 'master' of github.com:idega/com.idega.core into course_test
Merge branch 'master' of github.com:idega/com.idega.core into course_test

* 'master' of github.com:idega/com.idega.core:
  Not sending email if it's dev environment
Null pointer check
Update method
Method for automatically creating postal codes
Generics
Refactoring
Merge branch 'course_test' of github.com:idega/com.idega.core into course_test

* 'course_test' of github.com:idega/com.idega.core:
Class cast fixes
Generics
New method to find sub-types for given class
Made possible to sort by name