Add a rake task to print a warning if the state of a submodule is not what we expect it to be.
Get first character in a way that will work in Ruby 1.8 and 1.9
Call it an error, not a warning.
Only check commonlib, don't try to split the response into segments (as @mhl points out, the case where the initial character is a space is somewhat confusing), just grab the first character of the whole string and check it against expected values.
Merge branch 'feature/check-submodules' into rails-3-develop