Add function to detect namespace declarations.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=57153066