added cur_shortcode_atts function to make attribute array creation and merging easier. no need to repeat code across array.php and functions .php
refactored cur_shortcode_atts function