Gets the name of the project directory (basename).
@todo It would be nice, if projects contained an info file which could provide their canonical name.
string $directory:
string The name of the project.
public static function getProjectName($directory) {
return drupal_basename($directory);
}