Fix some problems with ToSlug(). Added max length to ToSlug().
Fix some problems with ToSlug().
Added max length to ToSlug().

virtualdreams/notes-core,virtualdreams/notes-core,virtualdreams/notes-core,virtualdreams/notes-core