Added stores_state attribute for xmoduledescriptors as a way to declare if the module stores state in the database.