Use the LINKNAME_PATTERN from its new home in key_name.py. Also, add some
missing blank lines that are required by the style guide.
A list of bugs is available in the Google App Engine SDK project on Google Code.Please visit http://code.google.com/p/googleappengine for more details.