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

* '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: