Refactored default separator into constant, as there are multiple uses.

Also added .idea to .gitignore
Made 'tags=' method be able to handle either String or Array, and made 'tags_array=' alias to 'tags=' for backward compatibility.