Added a new hook before topic creation (kept the existing after because before create the topic SMF doesn't know the id) and passed by-ref also msgOptions, topicOptions and posterOptions
Added a new hook before topic creation (kept the existing after because before create the topic SMF doesn't know the id) and passed by-ref also msgOptions, topicOptions and posterOptions

Signed-off-by: emanuele <ac2faa8b943b3fcadaf05ed2541f4eebde440ed7@gmail.com>

interlab/Elkarte,MustafaCan/SMF2.1,georaldc/SMF2.1,Spuds/Elkarte,StealthWombat/How-to-fork-an-Elk,elkarte/Elkarte,mkress/SMF2.1,wizardaf/Elkarte,Ant59/Elkarte,joshuaadickerson/Elkarte2,MustafaCan/SMF2.1,mkress/SMF2.1,joshuaadickerson/Elkarte2,margarett/SMF2.1,interlab/Elkarte,wizardaf/Elkarte,StealthWombat/SMF2.1-more-forkery,Spuds/Elkarte,mkress/SMF2.1,nwsw/Elkarte,Ant59/Elkarte,elkarte/Elkarte,StealthWombat/How-to-fork-an-Elk,joshuaadickerson/Elkarte2,wizardaf/Elkarte,Ant59/Elkarte,emanuele45/Dialogo,joshuaadickerson/Elkarte2,interlab/Elkarte,StealthWombat/How-to-fork-an-Elk,StealthWombat/How-to-fork-an-Elk,nwsw/Elkarte,wizardaf/Elkarte,margarett/SMF2.1,nwsw/Elkarte,emanuele45/Dialogo,StealthWombat/SMF2.1-more-forkery,emanuele45/Dialogo,Spuds/Elkarte,georaldc/SMF2.1,elkarte/Elkarte