Added two more test for StringChecker::is_email?

Added test to check if - are aloud in domain and
local part. Didn't find the problems that Joel had
in registration. Someone remembers the e-mail he
used?

modified:   trade/test/string_checker_test.rb
Solved item uploading when item is edited

There was a problem with the path. The item was not saved
in images/items but in images/users. Someone just copy&paste it.
Please write test for methods you implement!

Wrote test to check if file upload works for edit.

modified:   trade/app/controllers/creator.rb
modified:   trade/test/creator_test.rb

Tests failed:
----
i.O.
Merge branch 'master' of https://github.com/ese-unibe-ch/ese2012-team1

Conflicts:
	trade/app/controllers/creator.rb
Fixed e_mail problem

There was a problem with in user.rb. The e-mail checking was
not correct. Now using StringChecker::is_email? and everything
works fine.

modified:   trade/app/models/user.rb
First simple solution for login feedback

Added a new local value error_message to login.haml which is
displayed in a label when error_message is defined.

modified:   trade/app/controllers/authentication.rb
modified:   trade/app/views/login.haml
Forgot to require string_checkers in user.rb

Was not really a problem but some tests failed because of that.

modified:   trade/app/models/user.rb
Merge remote-tracking branch 'origin/master'

Conflicts:
	trade/app/models/user.rb
Test for Controllers::Authentication

Check if post /authenticate works as predicted. Minor refactoring
in Controllers::Authentication.

modified:   trade/app/controllers/authentication.rb
modified:   trade/test/authentication_test.rb
New class 'warning' selector in css

Used to display warning in login.haml red with red border.

modified:   trade/app/public/css/new_style.css
modified:   trade/app/views/login.haml
syntax correction on inheritance and require_path extention in user

My tests for system were stuck, so I changed and pushed it.

user.rb
- require_relative('account')
- class User < Models::Account instead of Models :Account

organisation
- class Organisation < Models::Account instead of Models :Account

	modified:   trade/app/models/organisation.rb
	modified:   trade/app/models/user.rb
Little bit documentation to registration.rb

Documented the use of method are_nil?

modified:   trade/app/controllers/registration.rb
Tests for creator.rb and security leak fixin'

It was possible to change the state of an item that didn't belong
to the user that was logged in. Fixed that by checking if item
to change really belongs to the user logged in.

Wrote test for setting items active and inactive in controller

modified:   trade/app/controllers/creator.rb
modified:   trade/test/creator_test.rb
modified:   trade/test/test_helper.rb
System provides basic methods for user

	modified:   trade/app/models/system.rb
Added short class doc.

The following methods are avaiable, but not tested yet:
- add_user(user)
- fetch_user(user_email) --> returns user object
- fetch_all_users_but(user_email) --> returns array of all other users
- remove_user(user_email)
no real changes, want to switch branch

Sure there is a clean way to do what I want to do, but I'm too tired
to find out tonight. So this will have to do.
Merge branch 'master' of https://github.com/ese-unibe-ch/ese2012-team1
Test for System user methods

I insered some standart test for System.rb
Unfortuantely they are currently of no use, because user is not working at all.
That means the tests will have to be revisited later again.

	modified:   trade/app/models/system.rb
	modified:   trade/test/system_test.rb
Merge branch 'master' into system-singleton
Basic methods for items in system

... tests will follow soon.

	modified:   trade/app/models/system.rb
And here come methods for organisation in system.

here too, test will follow. I'm on it now.

	modified:   trade/app/models/system.rb
get_name in user

needed in system.rb

also I renamed is_Member to is_member

	modified:   trade/app/models/organisation.rb