Safely join arrays

 * Adapted from array_join gem:
 * https://github.com/marcandre/rails_join/blob/master/lib/rails_join.rb
Merge pull request #9 from sealink/master

Safely join arrays