factions: added few parameters + fix
factions: added few parameters + fix

Added type parameter to createFaction (and hooked with the SQL query);
addCharacterToFaction now defaults rank and isLeader to the 1/0
respectively;
loadFaction returned error when nilling a nil table child;
loadFaction now returns the faction that was loaded.

smile-tmb/lua-mta-fairplay-roleplay